<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');?>
<form name="myform" action="" method="post">
<div class="pad_10">
<div class="bk10"></div>
<div class="table-list">
    <table width="100%" cellspacing="0" >
        <thead>
            <tr>
            <th width="30">ID</th>
            <th align='center'><?php echo L('cn_name');?></th>
            <th align='center'><?php echo L('en_name');?></th>
            <th align='center' width="150"><?php echo L('create_time');?></th>
            <th align='center' width="100"><?php echo L('status');?></th>
            <th align='center' width="200"><?php echo L('operations_manage');?></th>
            </tr>
        </thead>
    <tbody>
    <?php echo $categorys;?>
    </tbody>
    </table>

    <div class="btn">
  <input type="hidden" name="pc_hash" value="<?php echo $_SESSION['pc_hash'];?>" />
  </div>  </div>
</div>
</div>
</form>
<script language="JavaScript">
<!--
  window.top.$('#display_center_id').css('display','none');
//-->
    function add(id, name) {
        window.top.art.dialog({id:'add'}).close();
        window.top.art.dialog({title:'<?php echo L('edit')?> '+name+' ',id:'edit',iframe:'?m=goods&c=goods_type&a=add&parentid='+id,width:'700',height:'350'}, function(){var d = window.top.art.dialog({id:'edit'}).data.iframe;var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'edit'}).close()});
    }
</script>
</body>
</html>
